package com.ctshk.rpc.hotel.entity.es;

import com.ctshk.common.constant.ElasticSearchConstant;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * @description 酒店房型es对象
 * @author 谢诗宏
 * @date 2021/5/27
 */
@Data
@Api(value = "酒店房型信息", tags = "酒店房型信息")
@ApiModel(value="HotelRoomType对象", description="酒店房型")
@Document(indexName = ElasticSearchConstant.HOTEL_ROOM_INDEX)
public class HotelRoomEs {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "所属酒店")
    private Long hotelId;

    @ApiModelProperty(value = "房型名称")
    private String name;

    @ApiModelProperty(value = "房型英文名称")
    private String enName;

    @ApiModelProperty(value = "最多可住成人")
    private Integer maxAdult;

    @ApiModelProperty(value = "最多可住儿童")
    private Integer maxChildren;

    @ApiModelProperty(value = "房间数量")
    private Integer roomNum;

    @ApiModelProperty(value = "房间面积")
    private Double areaMeasure;

    @ApiModelProperty(value = "房型楼层")
    private String roomFloors;

    @ApiModelProperty(value = "房间类型ID")
    private Long roomTypeId;

    @ApiModelProperty(value = "房间类型")
    private String roomType;

    @ApiModelProperty(value = "是否可加床")
    private Integer canAddBed;

    @ApiModelProperty(value = "是否可加床")
    private Integer addBedNumber;

    @ApiModelProperty(value = "是否有窗户")
    private Integer hasWindow;

    @ApiModelProperty(value = "是否允许吸烟")
    private Integer allowSmoke;

    @ApiModelProperty(value = "是否免费网络")
    private Integer isFreeNet;

    @ApiModelProperty(value = "网络类型ID")
    private Long netTypeId;

    @ApiModelProperty(value = "网络类型")
    private String netType;

    @ApiModelProperty(value = "床型ID")
    private Long bedTypeId;

    @ApiModelProperty(value = "床型")
    private String bedType;

    @ApiModelProperty(value = "房间介绍")
    private String roomIntroduction;

    @ApiModelProperty(value = "客户指引")
    private String customerGuide;

    @ApiModelProperty(value = "封面图地址")
    private String coverImg;

    @ApiModelProperty(value = "图片JSON")
    private String photoJson;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "费用说明")
    private String costDescription;

    @ApiModelProperty(value = "房型设施")
    private String facilities;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;
}
